class MySQLConfig(object):
    DEBUG = True
    SECRET_KEY = "lyh200303273856"
    SQLALCHEMY_DATABASE_URI = "mysql+pymysql://{username}:{password}@{hostname}:{port}/{database}".format(
        username="root", password="root", hostname="127.0.0.1", port="3306", database="database_learn")
    SQLALCHEMY_TRACK_MODIFICATIONS = True  # 动态追踪修改设置
    SQLALCHEMY_ECHO = True


WHITE_NAME_LIST = ["/api/login", "/api/register"]
